home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tools / utils / smc_tt1 / fifo.h < prev    next >
Text File  |  1995-11-25  |  492b  |  24 lines

  1.  
  2. typedef struct
  3.   {
  4.   short   protocol;
  5.   lan_buffer_typ    *pkt;  
  6.   } ff_entry_typ;
  7.  
  8. typedef struct
  9.   {
  10.   short   anz;
  11.   short   read;
  12.   short   write;
  13.   short   count;
  14.   ff_entry_typ *entry;  
  15.   } ff_typ;
  16.  
  17. lan_buffer_typ *pkt_ff_get (ff_typ *ff );
  18. int pkt_ff_put (ff_typ *ff, lan_buffer_typ *pkt );
  19. void pkt_ff_init ( ff_typ *ff, short anz );
  20. void pkt_ff_alloc ( ff_typ *ff, char *free_mem );
  21.  
  22. void    get_sema(unsigned char *);
  23. void    clear_sema(unsigned char *);
  24.